x86: split PV dom0 builder to pv/dom0_builder.c
authorWei Liu <wei.liu2@citrix.com>
Thu, 16 Mar 2017 16:53:20 +0000 (16:53 +0000)
committerWei Liu <wei.liu2@citrix.com>
Mon, 20 Mar 2017 15:39:45 +0000 (15:39 +0000)
commit674cad0d67087e8cd04c80ed56893d4f153fa54e
tree0d4e9a64c8c76c5baf34a6bdb4be4820b902c607
parent503b2fb9a7498198f99b744b9be1efe54e4fe42d
x86: split PV dom0 builder to pv/dom0_builder.c

Long term we want to be able to disentangle PV and HVM code. Move the PV
domain builder to a dedicated file.

This in turn requires exposing a few functions and variables via a new
header dom0_build.h. These functions and variables are now prefixed with
"dom0_" if they weren't already so.

No functional change.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/dom0_build.c
xen/arch/x86/pv/Makefile
xen/arch/x86/pv/dom0_build.c [new file with mode: 0644]
xen/include/asm-x86/dom0_build.h [new file with mode: 0644]